package com.qf.kady.ssm.service.impl;

import com.qf.kady.ssm.mapper.BookMapper;
import com.qf.kady.ssm.mapper.ClassInfoMapper;
import com.qf.kady.ssm.pojo.Book;
import com.qf.kady.ssm.pojo.ClassInfo;
import com.qf.kady.ssm.service.BookService;
import com.qf.kady.ssm.service.ClassInfoService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * \* Created with IntelliJ IDEA.
 * \* User: kady
 * \* Date: 2021/4/21
 * \* Time: 11:50
 * \* 千峰JAVA2101班
 * \* Description: 书类别业务层
 * \
 */

@Service
@Transactional
@Slf4j
public class ClassInfoServiceImpl implements ClassInfoService {

    @Autowired
    private ClassInfoMapper classInfoMapper;

    @Override
    public List<ClassInfo> getClassInfoList() {
        return classInfoMapper.selectClassInfoList();
    }
}
